package org.fuxian.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.fuxian.model.FeedBack;

public interface FeedBackMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FeedBack record);

    FeedBack selectByPrimaryKey(Integer id);

    List<FeedBack> selectAll();

    List<FeedBack> selectAllByUserId(@Param("user_id") Integer userId);

    int updateByPrimaryKey(FeedBack record);
}